/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package FrameWork.Objects.Items;

import FrameWork.Objects.MyObject;
import GamePlay.Global;
import java.io.IOException;

/**
 *
 * @author ThanhTri
 */
public class Key extends Water{
    public Key(int _X,int _Y, int _SizeX, int _SizeY,
            float _TimeAni,
            int _Map[][],int _Width, int _Height,
            int _ID) throws IOException{     
        super(_X, _Y, _SizeX, _SizeY, _TimeAni,  _Map, _Width, _Height, _ID);
        m_CurFrame = 7;
    }
    
    public void UpdateAnimation (float _Time){
        
    }
    public void ActionCollision (MyObject _Object){
        if(CheckCollision(_Object)==false) return; 
        if (_Object.getID()!=Global.ID_FIREMAN) return;
    }
}
